package com.pf.common.enums;

import lombok.Getter;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/7/1 21:48
 */
@Getter
public enum ResultRespEnum {
    SUCCESS(0, "调用成功"),
    SYSTEM_ERROR(999999, "系统异常"),
    PARAM_ERROR(100001, "参数异常"),
    FAIL(-1, "调用失败！");

    private Integer code;
    private String message;

    ResultRespEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
